from django.db import models

class EnvironmentData(models.Model):
    card_number = models.CharField(max_length=50)
    information = models.TextField()
    timestamp = models.DateTimeField(auto_now_add=True)

class CardData(models.Model):
    card_number = models.CharField(max_length=50)
    information = models.TextField()
    timestamp = models.DateTimeField(auto_now_add=True)
    
    def __str__(self):
        return self.card_number
